package task;

public class stu {
    String name;
    int ID;
    char sex;
    int age;
    public void showInfo(){
        System.out.println("姓名是："+this.name);
        System.out.println("学号是："+this.ID);
        System.out.println("性别是："+sex);
        System.out.println("年龄："+this.age);
    }

}
